#include <iostream>
#include <string>
using namespace std;
class conveyance
{
public:
    conveyance();
    ~conveyance();
public:     // 基类 public 属性数据成员
    float num_wheel;
protected:  // 基类 protected 属性数据成员
    string size;
private:    // 基类 private 属性数据成员
    string user;
};


class car : private conveyance // 私有继承
{
public:
    car();
    ~car();
};

car::car(){
    cout << "car()" << endl;
    num_wheel = 4;
    size = "1.3*0.7";
    user = "jake";
} 

class car1 : public car// 公有继承
{
public:
    car1();
    ~car1();
};

car1::car1()
{
    cout << "car1()" << endl;
    num_wheel = 3;
    size = "1.2*0.6";
    user = "make";
    return 0;
}

int main(){
    car1 a;
    return 0;
}